home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / term / vt-control.elc.z / vt-control.elc
Emacs Compiled Lisp  |  1998-05-21  |  1.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 35 34 3a 35 33 20 31 | 39 39 38 0a 3b 3b 3b 20 |:54:53 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 74 65 72 6d |s-20.3/l|isp/term|
|000000a0| 2f 76 74 2d 63 6f 6e 74 | 72 6f 6c 2e 65 6c 0a 3b |/vt-cont|rol.el.;|
|000000b0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000c0| 20 32 30 2e 34 20 22 45 | 6d 65 72 61 6c 64 22 20 | 20.4 "E|merald" |
|000000d0| 58 45 6d 61 63 73 20 20 | 4c 75 63 69 64 2e 0a 3b |XEmacs |Lucid..;|
|000000e0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000f0| 69 6f 6e 20 32 2e 32 35 | 20 58 45 6d 61 63 73 3b |ion 2.25| XEmacs;|
|00000100| 20 32 32 2d 4d 61 72 2d | 39 36 2e 0a 3b 3b 3b 20 | 22-Mar-|96..;;; |
|00000110| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000120| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000130| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000140| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000150| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 39 2e 0a 0a |t in Ema|cs 19...|
|00000160| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000170| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000180| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000190| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|000001a0| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|000001b0| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001c0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001d0| 65 72 73 69 6f 6e 20 22 | 32 30 22 29 29 29 0a 20 |ersion "|20"))). |
|000001e0| 20 20 20 28 65 72 72 6f | 72 20 22 60 76 74 2d 63 | (erro|r "`vt-c|
|000001f0| 6f 6e 74 72 6f 6c 2e 65 | 6c 27 20 77 61 73 20 63 |ontrol.e|l' was c|
|00000200| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|00000210| 73 20 32 30 22 29 29 0a | 0a 28 6f 72 20 28 62 6f |s 20")).|.(or (bo|
|00000220| 75 6e 64 70 20 27 63 75 | 72 72 65 6e 74 2d 6c 6f |undp 'cu|rrent-lo|
|00000230| 61 64 2d 6c 69 73 74 29 | 20 28 73 65 74 71 20 63 |ad-list)| (setq c|
|00000240| 75 72 72 65 6e 74 2d 6c | 6f 61 64 2d 6c 69 73 74 |urrent-l|oad-list|
|00000250| 20 6e 69 6c 29 29 0a 0a | 0a 23 40 34 35 20 49 66 | nil))..|.#@45 If|
|00000260| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 6b 65 79 70 61 64 | non-nil|, keypad|
|00000270| 20 69 73 20 69 6e 20 61 | 70 70 6c 69 63 61 74 69 | is in a|pplicati|
|00000280| 6f 6e 73 20 6d 6f 64 65 | 2e 1f 0a 28 64 65 66 76 |ons mode|...(defv|
|00000290| 61 72 20 76 74 2d 61 70 | 70 6c 69 63 61 74 69 6f |ar vt-ap|plicatio|
|000002a0| 6e 73 2d 6b 65 79 70 61 | 64 2d 70 20 74 20 28 23 |ns-keypa|d-p t (#|
|000002b0| 24 20 2e 20 36 30 36 29 | 29 0a 23 40 34 38 20 49 |$ . 606)|).#@48 I|
|000002c0| 66 20 6e 6f 6e 2d 6e 69 | 6c 2c 20 74 68 65 20 73 |f non-ni|l, the s|
|000002d0| 63 72 65 65 6e 20 69 73 | 20 31 33 32 20 63 68 61 |creen is| 132 cha|
|000002e0| 72 61 63 74 65 72 73 20 | 77 69 64 65 2e 1f 0a 28 |racters |wide...(|
|000002f0| 64 65 66 76 61 72 20 76 | 74 2d 77 69 64 65 2d 70 |defvar v|t-wide-p|
|00000300| 20 6e 69 6c 20 28 23 24 | 20 2e 20 37 30 33 29 29 | nil (#$| . 703))|
|00000310| 0a 23 40 33 37 20 53 65 | 74 20 74 68 65 20 73 63 |.#@37 Se|t the sc|
|00000320| 72 65 65 6e 20 31 33 32 | 20 63 68 61 72 61 63 74 |reen 132| charact|
|00000330| 65 72 73 20 77 69 64 65 | 2e 1f 0a 28 64 65 66 61 |ers wide|...(defa|
|00000340| 6c 69 61 73 20 27 76 74 | 2d 77 69 64 65 20 23 5b |lias 'vt|-wide #[|
|00000350| 6e 69 6c 20 22 c0 c1 21 | 88 c2 c3 20 c4 5c 22 88 |nil "..!|... .\".|
|00000360| c5 89 16 06 87 22 20 5b | 73 65 6e 64 2d 73 74 72 |....." [|send-str|
|00000370| 69 6e 67 2d 74 6f 2d 74 | 65 72 6d 69 6e 61 6c 20 |ing-to-t|erminal |
|00000380| 22 1b 5b 3f 33 68 22 20 | 73 65 74 2d 66 72 61 6d |".[?3h" |set-fram|
|00000390| 65 2d 77 69 64 74 68 20 | 73 65 6c 65 63 74 65 64 |e-width |selected|
|000003a0| 2d 66 72 61 6d 65 20 31 | 33 32 20 74 20 76 74 2d |-frame 1|32 t vt-|
|000003b0| 77 69 64 65 2d 70 5d 20 | 33 20 28 23 24 20 2e 20 |wide-p] |3 (#$ . |
|000003c0| 37 39 30 29 20 6e 69 6c | 5d 29 0a 23 40 33 36 20 |790) nil|]).#@36 |
|000003d0| 53 65 74 20 74 68 65 20 | 73 63 72 65 65 6e 20 38 |Set the |screen 8|
|000003e0| 30 20 63 68 61 72 61 63 | 74 65 72 73 20 77 69 64 |0 charac|ters wid|
|000003f0| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 76 |e...(def|alias 'v|
|00000400| 74 2d 6e 61 72 72 6f 77 | 20 23 5b 6e 69 6c 20 22 |t-narrow| #[nil "|
|00000410| c0 c1 21 88 c2 c3 20 c4 | 5c 22 88 c5 89 16 06 87 |..!... .|\"......|
|00000420| 22 20 5b 73 65 6e 64 2d | 73 74 72 69 6e 67 2d 74 |" [send-|string-t|
|00000430| 6f 2d 74 65 72 6d 69 6e | 61 6c 20 22 1b 5b 3f 33 |o-termin|al ".[?3|
|00000440| 6c 22 20 73 65 74 2d 66 | 72 61 6d 65 2d 77 69 64 |l" set-f|rame-wid|
|00000450| 74 68 20 73 65 6c 65 63 | 74 65 64 2d 66 72 61 6d |th selec|ted-fram|
|00000460| 65 20 38 30 20 6e 69 6c | 20 76 74 2d 77 69 64 65 |e 80 nil| vt-wide|
|00000470| 2d 70 5d 20 33 20 28 23 | 24 20 2e 20 39 37 36 29 |-p] 3 (#|$ . 976)|
|00000480| 20 6e 69 6c 5d 29 0a 23 | 40 35 31 20 54 6f 67 67 | nil]).#|@51 Togg|
|00000490| 6c 65 20 62 65 74 77 65 | 65 6e 20 38 30 20 61 6e |le betwe|en 80 an|
|000004a0| 64 20 31 33 32 20 63 68 | 61 72 61 63 74 65 72 20 |d 132 ch|aracter |
|000004b0| 73 63 72 65 65 6e 20 77 | 69 64 74 68 2e 1f 0a 28 |screen w|idth...(|
|000004c0| 64 65 66 61 6c 69 61 73 | 20 27 76 74 2d 74 6f 67 |defalias| 'vt-tog|
|000004d0| 67 6c 65 2d 73 63 72 65 | 65 6e 20 23 5b 6e 69 6c |gle-scre|en #[nil|
|000004e0| 20 22 08 ab 83 c1 20 87 | c2 20 87 22 20 5b 76 74 | ".... .|. ." [vt|
|000004f0| 2d 77 69 64 65 2d 70 20 | 76 74 2d 6e 61 72 72 6f |-wide-p |vt-narro|
|00000500| 77 20 76 74 2d 77 69 64 | 65 5d 20 31 20 28 23 24 |w vt-wid|e] 1 (#$|
|00000510| 20 2e 20 31 31 36 34 29 | 20 6e 69 6c 5d 29 0a 23 | . 1164)| nil]).#|
|00000520| 40 33 37 20 54 75 72 6e | 20 6f 6e 20 74 68 65 20 |@37 Turn| on the |
|00000530| 56 54 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |VT appli|cations |
|00000540| 6b 65 79 70 61 64 2e 1f | 0a 28 64 65 66 61 6c 69 |keypad..|.(defali|
|00000550| 61 73 20 27 76 74 2d 6b | 65 79 70 61 64 2d 6f 6e |as 'vt-k|eypad-on|
|00000560| 20 23 5b 28 26 6f 70 74 | 69 6f 6e 61 6c 20 74 65 | #[(&opt|ional te|
|00000570| 6c 6c 29 20 22 c0 c1 21 | 88 c2 13 0c ac 83 74 ad |ll) "..!|......t.|
|00000580| 83 c5 c6 21 87 22 20 5b | 73 65 6e 64 2d 73 74 72 |...!." [|send-str|
|00000590| 69 6e 67 2d 74 6f 2d 74 | 65 72 6d 69 6e 61 6c 20 |ing-to-t|erminal |
|000005a0| 22 1b 5b 1b 3d 22 20 74 | 20 76 74 2d 61 70 70 6c |".[.=" t| vt-appl|
|000005b0| 69 63 61 74 69 6f 6e 73 | 2d 6b 65 79 70 61 64 2d |ications|-keypad-|
|000005c0| 70 20 74 65 6c 6c 20 6d | 65 73 73 61 67 65 20 22 |p tell m|essage "|
|000005d0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 6b 65 79 |Applicat|ions key|
|000005e0| 70 61 64 20 65 6e 61 62 | 6c 65 64 2e 22 5d 20 32 |pad enab|led."] 2|
|000005f0| 20 28 23 24 20 2e 20 31 | 33 31 36 29 20 6e 69 6c | (#$ . 1|316) nil|
|00000600| 5d 29 0a 23 40 33 38 20 | 54 75 72 6e 20 6f 66 66 |]).#@38 |Turn off|
|00000610| 20 74 68 65 20 56 54 20 | 61 70 70 6c 69 63 61 74 | the VT |applicat|
|00000620| 69 6f 6e 73 20 6b 65 79 | 70 61 64 2e 1f 0a 28 64 |ions key|pad...(d|
|00000630| 65 66 61 6c 69 61 73 20 | 27 76 74 2d 6b 65 79 70 |efalias |'vt-keyp|
|00000640| 61 64 2d 6f 66 66 20 23 | 5b 28 26 6f 70 74 69 6f |ad-off #|[(&optio|
|00000650| 6e 61 6c 20 74 65 6c 6c | 29 20 22 c0 c1 21 88 c2 |nal tell|) "..!..|
|00000660| 13 0c ac 83 74 ad 83 c5 | c6 21 87 22 20 5b 73 65 |....t...|.!." [se|
|00000670| 6e 64 2d 73 74 72 69 6e | 67 2d 74 6f 2d 74 65 72 |nd-strin|g-to-ter|
|00000680| 6d 69 6e 61 6c 20 22 1b | 5b 1b 3e 22 20 6e 69 6c |minal ".|[.>" nil|
|00000690| 20 76 74 2d 61 70 70 6c | 69 63 61 74 69 6f 6e 73 | vt-appl|ications|
|000006a0| 2d 6b 65 79 70 61 64 2d | 70 20 74 65 6c 6c 20 6d |-keypad-|p tell m|
|000006b0| 65 73 73 61 67 65 20 22 | 41 70 70 6c 69 63 61 74 |essage "|Applicat|
|000006c0| 69 6f 6e 73 20 6b 65 79 | 70 61 64 20 64 69 73 61 |ions key|pad disa|
|000006d0| 62 6c 65 64 2e 22 5d 20 | 32 20 28 23 24 20 2e 20 |bled."] |2 (#$ . |
|000006e0| 31 35 34 34 29 20 22 70 | 22 5d 29 0a 23 40 34 32 |1544) "p|"]).#@42|
|000006f0| 20 54 6f 67 67 6c 65 20 | 56 54 20 61 70 70 6c 69 | Toggle |VT appli|
|00000700| 63 61 74 69 6f 6e 20 6b | 65 79 70 61 64 20 6f 6e |cation k|eypad on|
|00000710| 20 61 6e 64 20 6f 66 66 | 2e 1f 0a 28 64 65 66 61 | and off|...(defa|
|00000720| 6c 69 61 73 20 27 76 74 | 2d 6e 75 6d 6c 6f 63 6b |lias 'vt|-numlock|
|00000730| 20 23 5b 6e 69 6c 20 22 | 08 ab 84 c1 74 21 87 c2 | #[nil "|....t!..|
|00000740| 74 21 87 22 20 5b 76 74 | 2d 61 70 70 6c 69 63 61 |t!." [vt|-applica|
|00000750| 74 69 6f 6e 73 2d 6b 65 | 79 70 61 64 2d 70 20 76 |tions-ke|ypad-p v|
|00000760| 74 2d 6b 65 79 70 61 64 | 2d 6f 66 66 20 76 74 2d |t-keypad|-off vt-|
|00000770| 6b 65 79 70 61 64 2d 6f | 6e 5d 20 32 20 28 23 24 |keypad-o|n] 2 (#$|
|00000780| 20 2e 20 31 37 37 37 29 | 20 6e 69 6c 5d 29 0a | . 1777)| nil]). |
+--------+-------------------------+-------------------------+--------+--------+